package com.ld.security.shop.crawler.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestPart;

@FeignClient("DownFile")
public interface DownFile {

    @RequestMapping(value = "{url}",method = RequestMethod.GET)
    byte[] downUrl(@RequestPart("url") String url);
}
